button {
   margin: 0;
   padding: 5px 10px;
}
         
body {
   margin: 0;
   padding: 0;
   background: #aaa;
}
canvas {
   width: 800px;
   height: 500px;
   display: block;
   box-shadow: 0 5px 50px #333;
   margin: 25px auto 0;
   background: #fff;
}

hr, h1, p, #controls {
   width: 800px;
   margin: 10px auto;
}

#controls {
   margin-top: 50px;
   overflow: auto;
}

#img_grid {
   overflow: auto;
   margin: 10px 0;
}

#img_grid img {
   width: 75px;
   height: 50px;
   display: block;
   float: left;
   margin: 2px 2px;
   padding: 0;
   cursor: pointer;
}

#img_grid img:nth-child(14), #img_grid img:nth-child(1) {
   margin-left: 0 !important;
}

#img_grid img:nth-child(13) {
   margin-right: 0 !important;
}

.btn_pos_right {
   display: block;
   float: right;
}

#matches {
   width: 96%;
   height: 48%;
   position: fixed;
   top: 50%;
   left: 2%;
   background: RGBA(255, 255, 255, 0.75);
   box-shadow: 0 5px 10px #555;
   display: none;
   overflow-y: scroll;
   padding: 0;
}

.hide_this_junk {
   display: none;
}